package com.ittony.health.service;

import com.ittony.health.domain.CheckGroup;
import com.ittony.health.domain.CheckItem;
import com.ittony.health.entity.PageResult;
import com.ittony.health.entity.QueryPageBean;

import java.util.List;

public interface CheckGroupService {
    void add(CheckGroup checkGroup,Integer[] checkItemIds);

    PageResult findByPage(QueryPageBean queryPageBean);

    CheckGroup findCheckGroupById(Integer id);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void delete(Integer checkGroupId);

    void edit(CheckGroup checkGroup, Integer[] checkItemIds);

    List<CheckGroup> findAll();
}
